(quail-defrule-internal): Add a check if a key is a vector.
authorJuri Linkov <juri@jurta.org>
Sun, 3 Sep 2006 14:00:19 +0000 (14:00 +0000)
committerJuri Linkov <juri@jurta.org>
Sun, 3 Sep 2006 14:00:19 +0000 (14:00 +0000)
lisp/international/quail.el

index b21d2623d80985b36864695c4a901a3b3430075a..fceebf64f2200ca19d4895d48224af95876a79de 100644 (file)
@@ -1095,7 +1095,7 @@ Optional 5th arg DECODE-MAP is a Quail decode map.
 
 Optional 6th arg PROPS is a property list annotating TRANS.  See the
 function `quail-define-rules' for the detail."
-  (if (null (stringp key))
+  (if (not (or (stringp key) (vectorp key)))
       (error "Invalid Quail key `%s'" key))
   (if (not (or (numberp trans) (stringp trans) (vectorp trans)
               (consp trans)